package com.sneaker.shower.entity.domain.order.discount;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sneaker.shower.entity.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author Hechangjian
 * @version 1.0
 * @className CouponTransactionDO
 * @date 2019/11/26 23:02
 * @description 优惠券使用流水表
 * @program bath
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("coupon_transaction")
public class CouponTransactionDO extends BaseDomain {

    /**
     * 用户guid
     */
    private Long userGuid;

    /**
     * 优惠券guid
     */
    private Long couponGuid;

    /**
     * 优惠券类型
     */
    private Integer couponType;

    /**
     * 订单guid
     */
    private Long subOrderGuid;

    /**
     * 优惠金额
     */
    private BigDecimal discountFee;
}
